<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>

    // 需求:取出数组中的三个值 赋值给变量 a b c

    // ES5
    var list = [1,2,3];

    var a = list[0];
    var b = list[1];
    var c = list[2];
    console.log(a,b,c);
    


</script>
</html>